﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using eGrocery.BaseDAL.Model;

namespace eGrocery.Location
{
    public  class StateBL
    {
         public StateBL()
        {            
            
        }

         public State SaveObject(string userName, BaseDAL.Model.State tObject)
        {
            return new LocationDAL.StateDA().SaveObject(userName, tObject);
        }

        public List<BaseDAL.Model.State> GetObjectList(string userName, DateTime fromDate, DateTime toDate)
        {
            return new LocationDAL.StateDA().GetObjectList(userName, fromDate, toDate);
        }

        public bool DeleteObject(string userName, BaseDAL.Model.State tObject)
        {
            return new LocationDAL.StateDA().DeleteObject("", tObject);
        }
    }
}
